﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.Entity.Basic
{
    /// <summary>
    /// 实体基类
    /// </summary>
    public abstract class EntityBase
    {
     
        /// <summary>
        /// 创建人GUID
        /// </summary>
        public Guid? CreateGuid { get; set; }
        /// <summary>
        ///  修改人GUID
        /// </summary>
        public Guid? UpdateGuid { get; set; }
        /// <summary>
        ///  创建人名称
        /// </summary>
        [StringLength(20)]
        public string? CreateName { get; set; }
        /// <summary>
        ///  修改人名称
        /// </summary>
        [StringLength(20)]
        public string? UpdateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }
    }
}
